<!DOCTYPE html>
<html lang="en">
<head>
    <title>反馈建议</title>
    <#include "/header.html">
</head>
<body>

<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">
            <div class="form-group col-sm-2">
                <input type="text" class="form-control" v-model="q.nickName" @keyup.enter="query" placeholder="会员昵称">
            </div>
            <!-- <form class="form-horizontal"></form>-->
            <!--<div class="form-group col-sm-2">-->
            <!--<div class="control-label">是否已删除</div>-->
            <!--<div class="col-sm-10">-->
            <!--<select >-->
            <!--<option >未删除</option>-->
            <!--<option >已删除</option>-->
            <!--</select>-->
            <!--</div>-->
            <!--</div>-->

            <a class="btn btn-default" @click="query">查询</a>
            <a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
            <a class="btn btn-primary" @click="info"><i class="fa fa-info"></i>&nbsp;查看详情</a>
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
            <div class="form-group">
                <div class="col-sm-2 control-label">会员昵称</div>
                <div class="col-sm-10">
                    <input class="form-control" v-model= "suggestion.nickName" placeholder="" disabled="disabled"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">会员手机号</div>
                <div class="col-sm-10">
                    <input  class="form-control" v-model="suggestion.mobileNumber" placeholder="" disabled="disabled"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">建议内容</div>
                <div class="col-sm-10">
                    <textarea class="form-control" rows="5" v-model="suggestion.suggestion" readonly="readonly"></textarea>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">反馈状态</div>
                <div class="col-sm-10">
                    <input  class="form-control" v-model="suggestion.feedbackStatusName" placeholder="" disabled="disabled"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">反馈建议图片</div>
                <div class="col-sm-10">
                    <img v-if ="flag"  :src="suggestion.suggestionImg"  style="width: 370px;"/>
                </div>
            </div>

            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <!--<input type="button" class="btn btn-primary" @click="saveOrUpdate" value="处理"/>-->
                <input type="button" class="btn btn-warning" @click="infoReload" value="返回"/>
            </div>
        </form>
    </div>
</div>

<script src="/users/script/suggestions.js?_${.now?long}"></script>

</body>
</html>